#ifndef __UDP_H__
#define __UDP_H__

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <netdb.h>
#include <string.h>
#include <sys/types.h>           /* netbd.h is needed for struct hostent =) */
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#define DATA_MAXSIZE 200

typedef struct message {
    int id;
    char data[128];
    int lengh;
    char time[32];  
}MSG;
#endif
